xen.git
20 years agoFix read of guest psr to properly set dfh and other bits (by Matt Chapman)
djm@kirby.fc.hp.com [Fri, 18 Nov 2005 17:04:58 +0000 (11:04 -0600)]
Fix read of guest psr to properly set dfh and other bits (by Matt Chapman)

20 years agoProperly pass iha/itir if data miss occurs when fetching privop (by Matt Chapman)
djm@kirby.fc.hp.com [Fri, 18 Nov 2005 16:58:03 +0000 (10:58 -0600)]
Properly pass iha/itir if data miss occurs when fetching privop (by Matt Chapman)

20 years agoRemove DOMU_BUILD_STAGING and supporting code entirely, no longer needed
djm@kirby.fc.hp.com [Fri, 18 Nov 2005 16:01:10 +0000 (10:01 -0600)]
Remove DOMU_BUILD_STAGING and supporting code entirely, no longer needed

20 years agoTurn off DOMU_BUILD_STAGING, no longer needed (flagged by Kevin Tian)
djm@kirby.fc.hp.com [Fri, 18 Nov 2005 00:35:14 +0000 (18:35 -0600)]
Turn off DOMU_BUILD_STAGING, no longer needed (flagged by Kevin Tian)

20 years agoParse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)
djm@kirby.fc.hp.com [Thu, 17 Nov 2005 16:32:22 +0000 (10:32 -0600)]
Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)

20 years agoTurn off duplicate console output (by Alex Williamson)
djm@kirby.fc.hp.com [Thu, 17 Nov 2005 16:28:45 +0000 (10:28 -0600)]
Turn off duplicate console output (by Alex Williamson)

20 years agoRemove old version of xen xlilo patch
djm@kirby.fc.hp.com [Thu, 17 Nov 2005 13:23:14 +0000 (07:23 -0600)]
Remove old version of xen xlilo patch

20 years agoIntegration of the xen4xlilo patch. (by Tristan Gingold)
djm@kirby.fc.hp.com [Thu, 17 Nov 2005 13:21:18 +0000 (07:21 -0600)]
Integration of the xen4xlilo patch. (by Tristan Gingold)
It is now backward compatible: works with the old elilo.

20 years agoEnable build to work for both generic and non-generic (hpsim issue)
djm@kirby.fc.hp.com [Thu, 17 Nov 2005 00:40:24 +0000 (18:40 -0600)]
Enable build to work for both generic and non-generic (hpsim issue)

20 years agoChanges so that Xen can be compiled with gcc 4.0.2: (by Tristan Gingold)
djm@kirby.fc.hp.com [Wed, 16 Nov 2005 23:45:36 +0000 (17:45 -0600)]
Changes so that Xen can be compiled with gcc 4.0.2: (by Tristan Gingold)
* functions must be declared before being called.
* a cast or a conditionnal expression is not an lvalue.
* a function cannot be declared static and redeclared extern (or reverse).
* gcc 4.0.2 missed a range optimization (ia64_setreg_unknown_kr).
* ia64_ksyms is not used (removed from Makefile).
* (added by Dan M: since now modified, move gfp.h from linux to linux-xen)

20 years agoEnable generic build for dom0 and build for domU with CONFIG_VT forced off
djm@kirby.fc.hp.com [Wed, 16 Nov 2005 22:59:41 +0000 (16:59 -0600)]
Enable generic build for dom0 and build for domU with CONFIG_VT forced off

20 years agoFix problem if itlb miss occurs when in metaphysical mode
djm@kirby.fc.hp.com [Wed, 16 Nov 2005 22:44:49 +0000 (16:44 -0600)]
Fix problem if itlb miss occurs when in metaphysical mode

20 years agoSupport dom0_mem parameter at boot option (by Masaki Kanno)
djm@kirby.fc.hp.com [Mon, 14 Nov 2005 17:41:41 +0000 (11:41 -0600)]
Support dom0_mem parameter at boot option (by Masaki Kanno)
Usage is the likely same as that of x86.  ex. append="dom0_mem=768M ..."
(Also dom0_align parameter added by Dan Magenheimer)
Signed-off-by Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
20 years agoFix delivery of nat consumption faults (still chatty)
djm@kirby.fc.hp.com [Fri, 11 Nov 2005 19:23:04 +0000 (13:23 -0600)]
Fix delivery of nat consumption faults (still chatty)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoPunt to slow path for itc.i/d for region0 to avoid metaphys problem
djm@kirby.fc.hp.com [Fri, 11 Nov 2005 19:05:38 +0000 (13:05 -0600)]
Punt to slow path for itc.i/d for region0 to avoid metaphys problem
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoFix region0 virtual accesses
djm@kirby.fc.hp.com [Fri, 11 Nov 2005 18:51:08 +0000 (12:51 -0600)]
Fix region0 virtual accesses
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoEnable gcc3.4 with CONFIG_SMP (by Alex Williamson)
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 21:24:29 +0000 (15:24 -0600)]
Enable gcc3.4 with CONFIG_SMP (by Alex Williamson)

20 years agoBlkfront no longer built by default, need CONFIG_XEN_BLKDEV_FRONTEND
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 20:02:01 +0000 (14:02 -0600)]
Blkfront no longer built by default, need CONFIG_XEN_BLKDEV_FRONTEND

20 years agoMerge
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 16:51:37 +0000 (10:51 -0600)]
Merge

20 years agoReflect various missing traps/faults (flagged with printf for now).
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 16:39:38 +0000 (10:39 -0600)]
Reflect various missing traps/faults (flagged with printf for now).
Without this building xen documentation crashes Xen!
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoFix typo
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 15:07:47 +0000 (09:07 -0600)]
Fix typo

20 years agoMerge latest xen-unstable into xen-ia64-unstable
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 14:34:09 +0000 (08:34 -0600)]
Merge latest xen-unstable into xen-ia64-unstable

20 years agoAdapt to new evtchn interfaces.
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 14:18:25 +0000 (08:18 -0600)]
Adapt to new evtchn interfaces.
Signed-off-by Kevin Tian <kevin.tian@intel.com>

20 years agoBack out partial fix in ia64-unstable 7665/7/8, breaks Debian boot
djm@kirby.fc.hp.com [Thu, 10 Nov 2005 14:10:18 +0000 (08:10 -0600)]
Back out partial fix in ia64-unstable 7665/7/8, breaks Debian boot

20 years agoDon't panic for other region physaddr handling in vcpu_translate
djm@kirby.fc.hp.com [Wed, 9 Nov 2005 21:31:01 +0000 (15:31 -0600)]
Don't panic for other region physaddr handling in vcpu_translate

20 years agoDon't panic for (rare) dom0 physaddr with uncacheable attribute
djm@kirby.fc.hp.com [Wed, 9 Nov 2005 20:11:31 +0000 (14:11 -0600)]
Don't panic for (rare) dom0 physaddr with uncacheable attribute

20 years agoFix ia64 tools build (new parameter in xc_vmx_build)
djm@kirby.fc.hp.com [Wed, 9 Nov 2005 18:59:28 +0000 (12:59 -0600)]
Fix ia64 tools build (new parameter in xc_vmx_build)

20 years agoEnable region0 virtual addresss in vcpu_translate (but still broken elsewhere)
djm@kirby.fc.hp.com [Wed, 9 Nov 2005 18:26:17 +0000 (12:26 -0600)]
Enable region0 virtual addresss in vcpu_translate (but still broken elsewhere)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoCope with the ValueError exception that we get if you use Xend with the recent
emellor@leeni.uk.xensource.com [Wed, 9 Nov 2005 15:08:37 +0000 (16:08 +0100)]
Cope with the ValueError exception that we get if you use Xend with the recent
change to parsing memory configuration against a store with entries written
by an older Xend.

Added maxmem field to list of things to be read from the store on recreate.

20 years agoSupport recent change moving virtual IOAPIC model into Xen for
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 13:53:12 +0000 (14:53 +0100)]
Support recent change moving virtual IOAPIC model into Xen for
ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c
and include/x86/vmx_vlapic.h.

Firstly, a small change to common virtual IOAPIC model to be used by
both sides. Also some compilation fix to tools is included in first
one. Secondly, there are ia64-specific changes to hook to common
IOAPIC model.

Based on this patch upon latest xen-ia64-unstable tip, we can see
multiple domains working again on XEN/IA64, including both domU and
VTI domain simultaneously in run-time.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>

20 years agoAttached patch allows building of netfront and blkfront as modules
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 13:42:15 +0000 (14:42 +0100)]
Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).

Signed-off-by: Jeremy Katz <katzj@redhat.com>
20 years agognttab_request_free_callback needs to be exported for building modular
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 13:41:37 +0000 (14:41 +0100)]
gnttab_request_free_callback needs to be exported for building modular
blkfront

Signed-off-by: Jeremy Katz <katzj@redhat.com>
20 years agoRemove use of get_gendisk in blkfront gen_gendisk is no long exported
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 13:41:14 +0000 (14:41 +0100)]
Remove use of get_gendisk in blkfront gen_gendisk is no long exported
by 2.6 kernel. Now blkfront can be built as a kernel module.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Jeremy Katz <katzj@redhat.com>
20 years agoAllow xen_create_contiguous_region() to fail gracefully if it
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 13:39:32 +0000 (14:39 +0100)]
Allow xen_create_contiguous_region() to fail gracefully if it
cannot allocate a contiguous multi-page extent of memory. This
should avoid unnecessary crashes in the xen-specific skbuff
cache constructor.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMore fixes for save/restore; use configured memory for generating sxp.
smh22@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 12:59:53 +0000 (13:59 +0100)]
More fixes for save/restore; use configured memory for generating sxp.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoThis patch prevents the xm-test console library from duplicating the
emellor@leeni.uk.xensource.com [Wed, 9 Nov 2005 11:39:38 +0000 (12:39 +0100)]
This patch prevents the xm-test console library from duplicating the
debugging output, when it's turned on.  This just makes it easier to
read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years agoThis patch adds a new test that attempts to save and restore a domain
emellor@leeni.uk.xensource.com [Wed, 9 Nov 2005 11:39:05 +0000 (12:39 +0100)]
This patch adds a new test that attempts to save and restore a domain
with a block device attached.  It starts up a domain, mounts a block
device, writes data to it, saves, restores, and then verifies that the
block device can still be read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years agoChmod a+x.
emellor@leeni.uk.xensource.com [Wed, 9 Nov 2005 11:38:46 +0000 (12:38 +0100)]
Chmod a+x.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFix 64-bit build.
smh22@firebug.cl.cam.ac.uk [Wed, 9 Nov 2005 08:02:59 +0000 (09:02 +0100)]
Fix 64-bit build.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix domU (by Kevin Tian)
djm@kirby.fc.hp.com [Tue, 8 Nov 2005 18:15:55 +0000 (12:15 -0600)]
Fix domU (by Kevin Tian)

20 years agoEnable save/restore for PAE domains.
smh22@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 17:42:07 +0000 (18:42 +0100)]
Enable save/restore for PAE domains.

This includes quite a few cleanups / refactoring of the old code, some
of which is intended to prepare for 64-bit save/restore.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoUse '-' instead of '_' in xen version strings.
smh22@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 17:39:58 +0000 (18:39 +0100)]
Use '-' instead of '_' in xen version strings.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix alloc_skb() to ensure data is always physically contiguous.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 15:48:42 +0000 (16:48 +0100)]
Fix alloc_skb() to ensure data is always physically contiguous.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRationalise the kernel event-channel binding interfaces. The
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 14:58:31 +0000 (15:58 +0100)]
Rationalise the kernel event-channel binding interfaces. The
new interfaces are simpler and should be implementable by any
architecture.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoIncrease the static constant default number of loopback interfaces, nloopbacks,
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 14:15:02 +0000 (15:15 +0100)]
Increase the static constant default number of loopback interfaces, nloopbacks,
to 8.  These interfaces are very cheap, so there's no problem having a few
spare.  Anyone with more than 8 NICs can still use the kernel command line or
the module parameter line to pass a larger limit to this module.

Detail the kernel command line parameter for nloopbacks in the diagnostic in
network-bridge.

Closes bug #381.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 13:56:14 +0000 (14:56 +0100)]
Merged.

20 years agoFix two leaks in the pyxc interface. The dictionaries are being added
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 13:53:27 +0000 (14:53 +0100)]
Fix two leaks in the pyxc interface. The dictionaries are being added
to lists, and an extra ref was being left behind.

Signed-off-by: Sean Perry <sean@xensource.com>
Signed-off-by: Robert Read <robert@xensource.com>
20 years agomerge
Michael.Fetterman@cl.cam.ac.uk [Tue, 8 Nov 2005 13:41:25 +0000 (14:41 +0100)]
merge

20 years agomerge
Michael.Fetterman@cl.cam.ac.uk [Tue, 8 Nov 2005 12:30:05 +0000 (13:30 +0100)]
merge

20 years agoCleanup various shadow mode asserts.
Michael.Fetterman@cl.cam.ac.uk [Tue, 8 Nov 2005 12:26:50 +0000 (13:26 +0100)]
Cleanup various shadow mode asserts.

Separate out the ability for domains to be able to write to their
pagetables (ala "writable page tables", which uses write-protected PTEs
to address the page tables: this is shadow_mode_write_all()) from the
right of a domain to create a PTE with write permissions that points
at a page table (this is shadow_mode_wr_pt_pte())...

Minor cleanup of SHADOW_DEBUG (at least make it compilable) in shadow.c.

20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:31:43 +0000 (12:31 +0100)]
Merged.

20 years agoAdded file missed on commit of earlier patch by Dan Smith.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:30:38 +0000 (12:30 +0100)]
Added file missed on commit of earlier patch by Dan Smith.

20 years agoThis patch removes all of the auto-generated files that were checked
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:28:19 +0000 (12:28 +0100)]
This patch removes all of the auto-generated files that were checked
in with xm-test in changeset 7634.  It also adds an "autogen" script
that re-creates these files.

The auto-generated files really don't need to be in the tree, as they
should be generated by the user on the machine where they plan to run
xm-test.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years agoBug fix in error handling in get_page_from_l4e()
mafetter@aosda.research.intel-research.net [Tue, 8 Nov 2005 11:26:48 +0000 (12:26 +0100)]
Bug fix in error handling in get_page_from_l4e()

20 years agoRemove unused and unnecessary gnttab ioctl.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 11:25:09 +0000 (12:25 +0100)]
Remove unused and unnecessary gnttab ioctl.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoUpdate tools/examples docs.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 11:17:53 +0000 (12:17 +0100)]
Update tools/examples docs.

Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
20 years agoAfter move randomMac to netif in 7637, we need to this for vmx guest.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 11:16:37 +0000 (12:16 +0100)]
After move randomMac to netif in 7637, we need to this for vmx guest.
otherwise, if no mac address configured, vmx guest can not be created.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoRemove the execute bit from shell snipplets (the -common files not
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 11:14:33 +0000 (12:14 +0100)]
Remove the execute bit from shell snipplets (the -common files not
starting with #!) found in the example directory under tools. It
further changes the installation path of the udev rules to comply with
what debian does: It places the rules file in /etc/udev/ und creates a
symlink to it in /etc/udev/rules.d.

Signed-off-by: Tobias Hunger <tobias@aquzul.com>
20 years agoFix the clean target of the tools/xenstore Makefile to
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 11:06:18 +0000 (12:06 +0100)]
Fix the clean target of the tools/xenstore Makefile to
remove all files created. Currently leaves some of its
files behind.

Signed-off-by: Tobias Hunger <tobias@aquzul.com>
20 years agoThis patch increments the version number of xm-test so that we can
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:02:10 +0000 (12:02 +0100)]
This patch increments the version number of xm-test so that we can
distinguish reports from the 0.4.0 tarball and in-tree versions.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years agoThis patch adds a URL to the reporting site, as well as a note about
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:01:09 +0000 (12:01 +0100)]
This patch adds a URL to the reporting site, as well as a note about
running with lots of free memory to the README.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years ago1. Set the UID and EUID of the process when trying to switch to a
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 11:00:23 +0000 (12:00 +0100)]
1. Set the UID and EUID of the process when trying to switch to a
   non-root user.
2. Better handle the debug-printing inside the console

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years ago1. Unmark the 07 and 08 tests of block_attach as XFAIL
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 10:56:55 +0000 (11:56 +0100)]
1. Unmark the 07 and 08 tests of block_attach as XFAIL
2. Change the MEM_PER_DOM amount in 11_create_concurrent to 24MB, so
   that the test will run on x86_64.
3. Increase the number of DomUs created in 12_create_concurrent to 5
4. Fix a logic error in 01_unpause
5. Add a test 06_help that checks all xm commands with 0-10 arguments
   to make sure none of them traceback with varying argument counts.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years agomerge
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Nov 2005 10:44:48 +0000 (11:44 +0100)]
merge

20 years agoFixed domain refcounting bug (found by inspection)
mafetter@seana.research.intel-research.net [Tue, 8 Nov 2005 10:38:32 +0000 (11:38 +0100)]
Fixed domain refcounting bug (found by inspection)

20 years agoFixed a bug in the audit code.
mafetter@seana.research.intel-research.net [Tue, 8 Nov 2005 10:36:55 +0000 (11:36 +0100)]
Fixed a bug in the audit code.
We don't hold a type refcount to the user's ptbase frame in
shadow refcounting mode.

20 years agoFixed domain refcounting bug (found by inspection)
unknown@aosda.research.intel-research.net [Tue, 8 Nov 2005 10:36:37 +0000 (11:36 +0100)]
Fixed domain refcounting bug (found by inspection)

20 years agoRemove unused parameter.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 10:35:25 +0000 (11:35 +0100)]
Remove unused parameter.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFix vncviewer spawning so it actually works.
mafetter@seana.research.intel-research.net [Tue, 8 Nov 2005 10:31:16 +0000 (11:31 +0100)]
Fix vncviewer spawning so it actually works.
How did this ever work for other people?

20 years agoAdded some minor defensive coding/error handling in xc_linux_build.c
mafetter@seana.research.intel-research.net [Tue, 8 Nov 2005 10:29:07 +0000 (11:29 +0100)]
Added some minor defensive coding/error handling in xc_linux_build.c

20 years agoMerge xen-unstable into xen-ia64-unstable again (to get ioapic changes)
djm@kirby.fc.hp.com [Tue, 8 Nov 2005 02:40:31 +0000 (20:40 -0600)]
Merge xen-unstable into xen-ia64-unstable again (to get ioapic changes)

20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 02:35:25 +0000 (03:35 +0100)]
Merged.

20 years agoPush the process of waiting for devices to come up right out of DevController,
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 02:34:23 +0000 (03:34 +0100)]
Push the process of waiting for devices to come up right out of DevController,
and drive this process from xm create.  Architecturally, this separates the
process of domain creation from the process of waiting for devices, allowing
tools to choose when to perform that wait (if at all).  This places the waiting
in the same category as the unpause after domain creation, architecturally.

The main advantage to this approach is that it takes waiting for devices out
of the scope of XendDomain's domains_lock.  When restarting a domain, the
watch would fire for @releaseDomain while we were waiting for new domains to
come up.  This would deadlock the watch thread, as no more new watches could
be delivered.  Closes bug #387.

In the longer term, we expect to be able to wait for devices to come up
completely, not simply to wait for the hotplug scripts to run, and so it is
necessary then to move the waiting procedure right out of the server, so that
it can be performed after the domain unpause.  Without unpausing the domain,
the frontends will not come up, and so we cannot detect successful device
completion.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoRearrange restart logic so that a failure to restart a domain does not cause
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 02:07:57 +0000 (03:07 +0100)]
Rearrange restart logic so that a failure to restart a domain does not cause
cascading secondary errors.  Fixes bug #384.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMark plenty of variables as unused, and remove an unused import.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 01:51:34 +0000 (02:51 +0100)]
Mark plenty of variables as unused, and remove an unused import.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoRemove unused XENSTORED_XYZ constants.
emellor@leeni.uk.xensource.com [Tue, 8 Nov 2005 00:26:16 +0000 (01:26 +0100)]
Remove unused XENSTORED_XYZ constants.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoEnable ar.unat handling for fast paths (by Anthony Xu)
djm@kirby.fc.hp.com [Mon, 7 Nov 2005 22:53:25 +0000 (16:53 -0600)]
Enable ar.unat handling for fast paths (by Anthony Xu)

20 years agoRename parameter to avoid shadowing builtin.
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 20:22:02 +0000 (21:22 +0100)]
Rename parameter to avoid shadowing builtin.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMinor Makefile cleanup in tools/libxc/Makefile
unknown@aosda.research.intel-research.net [Mon, 7 Nov 2005 17:35:55 +0000 (18:35 +0100)]
Minor Makefile cleanup in tools/libxc/Makefile

20 years agoMissed ia64 changes to one drivers/xen file
djm@kirby.fc.hp.com [Mon, 7 Nov 2005 17:25:59 +0000 (11:25 -0600)]
Missed ia64 changes to one drivers/xen file

20 years agoMake xen0's default config match itself after a "make oldconfig"
unknown@aosda.research.intel-research.net [Mon, 7 Nov 2005 17:25:09 +0000 (18:25 +0100)]
Make xen0's default config match itself after a "make oldconfig"

20 years agoFix pagetable pinning logic for xen/i386 kernels. The pin
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 17:14:45 +0000 (18:14 +0100)]
Fix pagetable pinning logic for xen/i386 kernels. The pin
flag is now associated with the pgd rather than the mm -- this
avoids a race where a pgd is allocated from the pgd_cache but,
before it gets associated with an mm, the kernel suspends itself.
At this point the kernel mappings will not get rewritten when the
kernel is resumed, and the system will fail.

A further advantage is that the code is slightly simpler and less
invasive (no changes to mm_context for example).

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMerge latest xen-unstable into xen-ia64-unstable
djm@kirby.fc.hp.com [Mon, 7 Nov 2005 17:13:38 +0000 (11:13 -0600)]
Merge latest xen-unstable into xen-ia64-unstable

20 years agoMinor updates to .hgignore
unknown@aosda.research.intel-research.net [Mon, 7 Nov 2005 16:54:55 +0000 (17:54 +0100)]
Minor updates to .hgignore
Added "tools/.*/TAGS" entry.
Sorted all entries.

20 years agoFast tlb miss reflection (mostly working, missing robustness, default off)
djm@kirby.fc.hp.com [Mon, 7 Nov 2005 16:40:42 +0000 (10:40 -0600)]
Fast tlb miss reflection (mostly working, missing robustness, default off)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
I've been maintaining this out-of-tree partially finished for some time
so am now checking it in but default off.  The current version needs
some additional error checking and only works (fast) for domain0, but
it makes a significant performance differenece.

20 years agoThis patch remove the obsolete ioapic code on qemu device model side.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 15:37:58 +0000 (16:37 +0100)]
This patch remove the obsolete ioapic code on qemu device model side.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
20 years agoThis patch add virtual IOAPIC support for VMX guest.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 15:36:27 +0000 (16:36 +0100)]
This patch add virtual IOAPIC support for VMX guest.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoThis patch change the vmx mmio handler to static.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 15:35:46 +0000 (16:35 +0100)]
This patch change the vmx mmio handler to static.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 14:06:27 +0000 (15:06 +0100)]
Merged.

20 years agoAdded description of the behaviour of rename-restart.
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 14:06:00 +0000 (15:06 +0100)]
Added description of the behaviour of rename-restart.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFixed syntax error in iopif patch.
jbulpin@wicket.uk.xensource.com [Mon, 7 Nov 2005 12:04:27 +0000 (13:04 +0100)]
Fixed syntax error in iopif patch.

Signed-off-by: James Bulpin <james@xensource.com>
20 years agomerge
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 11:53:38 +0000 (12:53 +0100)]
merge

20 years agofast_flush_area() should index the unmap request array using
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Nov 2005 11:52:49 +0000 (12:52 +0100)]
fast_flush_area() should index the unmap request array using
invcount, not i. Also, fix initialisation of pending_grant_handles:
it was happening too late, and the use of memset() was bogus.

Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMove the randomMAC method from xm.create into server.netif. This way, it can
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:36:53 +0000 (12:36 +0100)]
Move the randomMAC method from xm.create into server.netif.  This way, it can
be shared with other command line tools, and the xm network-attach command.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFix misnamed call to legacy_mask_to_prefix. Thanks to Tim Moreton for finding
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:36:44 +0000 (12:36 +0100)]
Fix misnamed call to legacy_mask_to_prefix.  Thanks to Tim Moreton for finding
this.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoDiagnostic for hitting the nloopbacks limit. This is presumably the cause of
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:36:35 +0000 (12:36 +0100)]
Diagnostic for hitting the nloopbacks limit.  This is presumably the cause of
all the "two bridges don't work" bugs that have been reported (bug #381).

Consideration will be given to raising the default limit -- this is just a
diagnostic of the problem.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoWholesale import of xm-test 0.4.0.
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:36:16 +0000 (12:36 +0100)]
Wholesale import of xm-test 0.4.0.

This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoHack around problem whereby VMX domains (using the ioemu device) now fail
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:35:06 +0000 (12:35 +0100)]
Hack around problem whereby VMX domains (using the ioemu device) now fail
because the new hotplug script error checking kicks in.

ioemu really ought to move out of blkif.py.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoAdded assertion, to stop it blowing up more obscurely a little later.
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:30:35 +0000 (12:30 +0100)]
Added assertion, to stop it blowing up more obscurely a little later.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoTidy exception handling on IntroduceDomain, quieten down one debug message, add
emellor@leeni.uk.xensource.com [Mon, 7 Nov 2005 11:30:16 +0000 (12:30 +0100)]
Tidy exception handling on IntroduceDomain, quieten down one debug message, add
another.

Signed-off-by: Ewan Mellor <ewan@xensource.com>